package com.hxqc.basic.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface CommonMapper {
	public Map<String, Object> findUniqueResultBySql(@Param("sql") String sql);

	public Integer getIntegerBySql(@Param("sql") String sql);

	public void excuteUpdate(@Param("sql") String sql);

	public int countSysLoginLog(Map<String, String> map);

	/**
	 * 查询用户登录日志
	 * 
	 * @param map
	 * @return
	 */
	public List<Map<String, Object>> findSysLoginLog(Map<String, String> map);

	public void insertOptionLog(Map<String, Object> map);

	public int countSysOptionLog(Map<String, String> map);

	public List<Map<String, Object>> findSysOptionLog(Map<String, String> map);

}
